home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG Revelations
/
BMUG Revelations.toast
/
Programming
/
Programming Languages
/
Harvest C
/
MPW Int & Lib
/
Interfaces
/
DiskInit.h
< prev
next >
Wrap
Text File
|
1991-04-17
|
1KB
|
52 lines
/************************************************************
Created: Sunday, January 6, 1991 at 9:08 PM
DiskInit.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1985-1989
All rights reserved
************************************************************/
#ifndef __DISKINIT__
#define __DISKINIT__
#ifndef __TYPES__
#include <Types.h>
#endif
struct HFSDefaults {
char sigWord[2]; /* signature word*/
long abSize; /* allocation block size in bytes*/
long clpSize; /* clump size in bytes*/
long nxFreeFN; /* next free file number*/
long btClpSize; /* B-Tree clump size in bytes*/
short rsrv1; /* reserved*/
short rsrv2; /* reserved*/
short rsrv3; /* reserved*/
};
typedef struct HFSDefaults HFSDefaults;
#ifdef __cplusplus
extern "C" {
#endif
pascal void DILoad(void);
pascal void DIUnload(void);
pascal short DIBadMount(Point where,long evtMessage);
OSErr dibadmount(Point *where,long evtMessage);
pascal OSErr DIFormat(short drvNum);
pascal OSErr DIVerify(short drvNum);
pascal OSErr DIZero(short drvNum,ConstStr255Param volName);
OSErr dizero(short drvnum,char *volName);
#ifdef __cplusplus
}
#endif
#endif